package com.xx.jicheng.mapper;

import java.util.List;

import com.xx.jicheng.entity.Category;

public interface CategoryMapper {
	
	public void save(Category category);
	
	public List<Category> find1s();
	
	public List<Category> find3s();
	
	public List<String> findAttrNames(String cname);
	
	public void update(Category category);

	public List<Category> findAll();
	
	public Category findById(String id);
	
	public List<Category> findByPid(String pid);

	public Category findByName(String cname);

}
